POV-Ray : Newsgroups : povray.general : Adding inside_vector (for CSG) to HF macros in shapes.inc : Re: Adding inside_vector (for CSG) to HF macros in shapes.inc Server Time
30 Jul 2024 16:24:11 EDT (-0400)
  Re: Adding inside_vector (for CSG) to HF macros in shapes.inc  
From: Warp
Date: 16 Oct 2008 17:43:12
Message: <48f7b570@news.povray.org>
Zeger Knaepen <zeg### [at] povplacecom> wrote:
> 'inside_vector', just like 'hollow', seems to be kind of magical to a lot of 
> users...  AFAIK there is NO NEED to specify inside_vector if you want to use 
> a properly closed mesh in CSG, since the default will do just fine.

  I think you are confusing meshes+CSG with meshes+media.

  The inside_vector indeed has nothing to do with media or other 'interior'
features, and would be completely needless with them. As long as the mesh
forms a closed surface, media inside it will render just fine.

  However, inside_vector *is* needed for intersection, difference and merge
CSG to work properly with meshes. This is because these operations require
to know if a given point is inside the mesh or not. If you don't use it,
POV-Ray won't be able to calculate CSG properly in all situations.

-- 
                                                          - Warp


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.